﻿using System.Runtime.Serialization;

namespace Metro.Kashikoi.Common.ExceptionHandling
{
    /// <summary>
    /// This class defines the service fault.
    /// </summary>
    [DataContract]
    public class ServiceFault
    {
        /// <summary>
        /// Gets or sets the error message.
        /// </summary>
        /// <value>
        /// The error message.
        /// </value>
        [DataMember]
        public string ErrorMessage { get; set; }

        /// <summary>
        /// Gets or sets the detailed message.
        /// </summary>
        /// <value>
        /// The detailed message.
        /// </value>
        [DataMember]
        public string DetailedMessage { get; set; }
    }
}
